Skip to content

Bump PHPStan to ^2.1.32 and fix test for InlineClassRoutePrefixRector#863

Merged
samsonasik merged 1 commit intomainfrom
bump-phpstan-3132-and-fix-inline
Nov 12, 2025
Merged

Bump PHPStan to ^2.1.32 and fix test for InlineClassRoutePrefixRector#863
samsonasik merged 1 commit intomainfrom
bump-phpstan-3132-and-fix-inline

Conversation

@samsonasik
Copy link
Copy Markdown
Member

After bump phpstan to ^2.1.32, the error ParametersAcceptorSelector apper:


1) phar:///home/runner/work/rector-src/rector-src/vendor/phpstan/phpstan/phpstan.phar/src/Reflection/ParametersAcceptorSelector.php:78
Undefined array key 0

appear.

https://github.com/rectorphp/rector-src/actions/runs/19305506357/job/55211781916?pr=7622#step:7:85

This PR fix it by reset args of attributes on use of InlineClassRoutePrefixRector

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant